//
//  LRJTravelDetailModel.m
//  BreadTravel
//
//  Created by 李润嘉 on 15/12/23.
//  Copyright © 2015年 蓝鸥科技. All rights reserved.
//

#import "LRJTravelDetailModel.h"

@implementation LRJTravelDetailModel

-(void)setValue:(id)value forUndefinedKey:(NSString *)key{
    
}
#pragma mark -- 将数据中字典里的model取出
- (void)setUser:(NSMutableDictionary *)user
{
    self.detailUserModel = [LRJTravelDetailUserModel modelWithDictionary:user];
}
- (void)setDays:(NSMutableArray *)days
{
    self.arrayDays = [NSMutableArray array];
    for (NSMutableDictionary *dic in days) {
        self.detailDayModel = [LRJTravelDetailDayModel modelWithDictionary:dic];
        [self.arrayDays addObject:self.detailDayModel];
    }
}

@end
